import request from '@/utils/request'
// 登录
export const loginAPI = data => request({ url: '/sys/login', method: 'post', data })

// 修改用户密码
export const updatePassAPI = data => request.put('/sys/user/updatePass', data)

// 获取-用户基本资料
export const getUserInfoAPI = () => request('/sys/profile')
